<!DOCTYPE html>
<html>

<head>
	<title>第11课 组件</title>
  <style >
    .likes{
      background: pink;
  }
  </style>
</head>
<body>
	<!-- <div id="app"> -->
  <div id="app"> 
  <like ></like>
  </div > 
<!--
<template id="like-component-tpl">
      <button  :class="{likes:likes}" @click="toggle_like()">赞{{like_count}} </button>
  </template>
 -->
<script src="vue-2.4.0.js"></script>
<script src="js10.js"></script>
</body>
</html>